package com.k.kc.util;

import java.util.UUID;

/**
 * @author k
 */
public class IDGenerator {

    /**
     * ID
     * @return ID
     */
    public static String id(){
        return uuid();
    }

    /**
     * UUID
     * @return UUID Str
     */
    public static String uuid(){
        return UUID.randomUUID().toString();
    }

    /**
     * UUID
     * @return UUID Str
     */
    public static String uuid32(){
        return UUID.randomUUID().toString().replace("-","");
    }
}
